package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

//这是核心配置类
@Configuration
//扫描
@ComponentScan(value = "com.itheima")
//文件扫描
@PropertySource("jdbc.properties")
//导入其他配置类
@Import({JDBCConfig.class, MybatisConfig.class})
public class SpringConfig {
}
